#include<iostream>
#include<cmath>
#include<cstdio>
using namespace std;
int main(){
    int a,b,c;
    cin>>a>>b>>c;
    double l=a+b+c;
    double p=(a+b+c)*1.0/2;
    double s=sqrt(p*(p-a)*(p-b)*(p-c));
    printf("circumference=%.2lf area=%.2lf",l,s);
    return 0;
}
